<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        {{name}}
        <h1 k-text="name" id='aa' class='bbb' style='width:100px;'></h1>
        <h2 k-html="age"></h2>
    </div>
    <script src='./compile.js'></script>
    <script src='./kvue.js'></script>
    <script>
        const vm =  new KVue({
            el:"#app",
            data: {
                name: 'kkk',
                age: `<div style='color:red'>18</div>`,
                obj: {
                    phone:1361111111,
                }
            },
            created() {
                setTimeout(() => {
                    this.name ='bbbb'
                    this.age = `<div style='color:red'>20</div>`
                },1000)
            }
        })
    </script>
</body>
</html>